describe('Test worker login', () => {
    it('Worker login', () => {
        cy.visit('http://localhost:8080');
        cy.get('[data-testid="username"]').type('worker');
        cy.get('[data-testid="password"]').type('123456iloveSE');
        cy.contains(/^登录$/).click();
        cy.url().should('include', 'worker');
    });
})
